<!DOCTYPE html>
        <html lang="zh-CN">
        <head>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <title>提交购买意向 - USDTMarket</title>
            <script src="https://cdn.tailwindcss.com"></script>
            <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
            <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
            
            <script>
                tailwind.config = {
                    theme: {
                        extend: {
                            colors: {
                                primary: '#165DFF',
                                success: '#36D399',
                                danger: '#F87272',
                                dark: '#1E293B',
                                light: '#F1F5F9',
                                'dark-blue': '#0F172A',
                                'light-blue': '#E0E7FF',
                            },
                            fontFamily: {
                                inter: ['Inter', 'sans-serif'],
                            },
                        }
                    }
                }
            </script>
            
            <style type="text/tailwindcss">
                @layer utilities {
                    .content-auto {
                        content-visibility: auto;
                    }
                    .scrollbar-hide {
                        -ms-overflow-style: none;
                        scrollbar-width: none;
                    }
                    .scrollbar-hide::-webkit-scrollbar {
                        display: none;
                    }
                    .glass {
                        background: rgba(255, 255, 255, 0.2);
                        backdrop-filter: blur(10px);
                        -webkit-backdrop-filter: blur(10px);
                    }
                    .card-hover {
                        transition: all 0.3s ease;
                    }
                    .card-hover:hover {
                        transform: translateY(-3px);
                        box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
                    }
                    .input-focus {
                        transition: all 0.2s ease;
                    }
                    .input-focus:focus {
                        transform: scale(1.01);
                    }
                    .table-row-hover {
                        transition: all 0.2s ease;
                    }
                    .table-row-hover:hover {
                        background-color: rgba(22, 93, 255, 0.05);
                    }
                    .gradient-text {
                        background-clip: text;
                        -webkit-background-clip: text;
                        color: transparent;
                        background-image: linear-gradient(to right, #165DFF, #36D399);
                    }
                }
            </style>
        </head>
        <body class="font-inter bg-gradient-to-br from-dark-blue to-dark min-h-screen text-white">
            <!-- 导航栏 -->
            <header class="fixed top-0 left-0 right-0 z-50 transition-all duration-300" id="navbar">
                <div class="container mx-auto px-4 py-3 flex items-center justify-between glass border-b border-white/10">
                    <div class="flex items-center space-x-2">
                        <div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center">
                            <i class="fa fa-exchange text-white text-xl"></i>
                        </div>
                        <h1 class="text-xl font-bold gradient-text">USDT<span class="text-sm font-normal ml-1">Market</span></h1>
                    </div>
                    
                    <nav class="hidden md:flex items-center space-x-8">
                        <a href="#" class="text-white/70 hover:text-primary transition-colors">首页</a>
                        <a href="#" class="text-white/70 hover:text-primary transition-colors">购买USDT</a>
                        <a href="#" class="text-white/70 hover:text-primary transition-colors">出售USDT</a>
                        <a href="#" class="text-white/70 hover:text-primary transition-colors">交易记录</a>
                        <a href="#" class="text-primary font-medium">账户中心</a>
                    </nav>
                    
                    <div class="flex items-center space-x-4">
                        <div class="relative">
                            <button class="flex items-center space-x-2 px-4 py-2 rounded-lg bg-primary/20 text-primary hover:bg-primary/30 transition-colors">
                                <i class="fa fa-user-circle-o text-xl"></i>
                                <span class="hidden md:inline">用户12345</span>
                                <i class="fa fa-angle-down"></i>
                            </button>
                        </div>
                        <button class="md:hidden text-white text-xl">
                            <i class="fa fa-bars"></i>
                        </button>
                    </div>
                </div>
            </header>

            <!-- 主内容区 -->
            <main class="container mx-auto px-4 pt-24 pb-16">
                <!-- 面包屑导航 -->
                <div class="mb-8 text-sm text-white/60">
                    <a href="#" class="hover:text-primary transition-colors">首页</a> &gt; 
                    <a href="#" class="hover:text-primary transition-colors">购买USDT</a> &gt; 
                    <span class="text-white">提交购买意向</span>
                </div>
                
                <!-- 页面标题 -->
                <div class="mb-12 text-center">
                    <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold mb-4">提交购买意向</h2>
                    <p class="text-white/80 max-w-2xl mx-auto">填写以下信息提交您的USDT购买意向，我们将尽快为您匹配合适的卖家</p>
                </div>
                
                <!-- 购买表单 -->
                <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 mb-12 max-w-2xl mx-auto">
                    <form id="purchaseForm" class="space-y-6">
                        <!-- 购买金额 -->
                        <div>
                            <label for="amount" class="block text-white/70 mb-2 text-sm">购买金额 (USDT)</label>
                            <div class="relative">
                                <span class="absolute inset-y-0 left-0 flex items-center pl-4 text-white/60">
                                    <i class="fa fa-usd"></i>
                                </span>
                                <input type="number" id="amount" name="amount" min="1" step="0.01" 
                                    class="w-full pl-10 pr-4 py-3 bg-dark border border-white/10 rounded-lg focus:outline-none focus:border-primary transition-colors input-focus"
                                    placeholder="请输入购买金额" required>
                            </div>
                            <p class="text-white/50 text-xs mt-1">最低购买金额为 100 USDT</p>
                        </div>
                        
                        <!-- 支付方式 -->
                        <div>
                            <label class="block text-white/70 mb-2 text-sm">支付方式</label>
                            <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                                <div class="relative">
                                    <input type="radio" id="payment-wechat" name="payment" value="wechat" class="hidden peer" checked>
                                    <label for="payment-wechat" class="flex items-center justify-center p-4 bg-dark border-2 border-white/10 rounded-lg cursor-pointer peer-checked:border-primary transition-colors">
                                        <i class="fa fa-wechat text-2xl mr-2"></i>
                                        <span>微信支付</span>
                                    </label>
                                </div>
                                
                                <div class="relative">
                                    <input type="radio" id="payment-alipay" name="payment" value="alipay" class="hidden peer">
                                    <label for="payment-alipay" class="flex items-center justify-center p-4 bg-dark border-2 border-white/10 rounded-lg cursor-pointer peer-checked:border-primary transition-colors">
                                        <i class="fa fa-credit-card text-2xl mr-2"></i>
                                        <span>支付宝</span>
                                    </label>
                                </div>
                                
                                <div class="relative">
                                    <input type="radio" id="payment-bank" name="payment" value="bank" class="hidden peer">
                                    <label for="payment-bank" class="flex items-center justify-center p-4 bg-dark border-2 border-white/10 rounded-lg cursor-pointer peer-checked:border-primary transition-colors">
                                        <i class="fa fa-university text-2xl mr-2"></i>
                                        <span>银行转账</span>
                                    </label>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 价格类型 -->
                        <div>
                            <label class="block text-white/70 mb-2 text-sm">价格类型</label>
                            <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                                <div class="relative">
                                    <input type="radio" id="price-market" name="priceType" value="market" class="hidden peer" checked>
                                    <label for="price-market" class="flex items-center justify-center p-4 bg-dark border-2 border-white/10 rounded-lg cursor-pointer peer-checked:border-primary transition-colors">
                                        <span>市场价</span>
                                        <span class="ml-2 px-2 py-1 bg-primary/20 text-primary text-xs rounded-full">当前: 7.12 CNY</span>
                                    </label>
                                </div>
                                
                                <div class="relative">
                                    <input type="radio" id="price-custom" name="priceType" value="custom" class="hidden peer">
                                    <label for="price-custom" class="flex items-center justify-center p-4 bg-dark border-2 border-white/10 rounded-lg cursor-pointer peer-checked:border-primary transition-colors">
                                        <span>自定义价格</span>
                                    </label>
                                </div>
                            </div>
                            
                            <div id="customPriceField" class="hidden mt-4">
                                <div class="relative">
                                    <span class="absolute inset-y-0 left-0 flex items-center pl-4 text-white/60">
                                        <i class="fa fa-cny"></i>
                                    </span>
                                    <input type="number" id="customPrice" name="customPrice" min="0" step="0.01" 
                                        class="w-full pl-10 pr-4 py-3 bg-dark border border-white/10 rounded-lg focus:outline-none focus:border-primary transition-colors input-focus"
                                        placeholder="请输入自定义价格">
                                </div>
                                <p class="text-white/50 text-xs mt-1">当前市场价格为 7.12 CNY/USDT</p>
                            </div>
                        </div>
                        
                        <!-- 预计支付金额 -->
                        <div>
                            <label class="block text-white/70 mb-2 text-sm">预计支付金额 (CNY)</label>
                            <div class="relative">
                                <span class="absolute inset-y-0 left-0 flex items-center pl-4 text-white/60">
                                    <i class="fa fa-cny"></i>
                                </span>
                                <input type="text" id="estimatedAmount" name="estimatedAmount" 
                                    class="w-full pl-10 pr-4 py-3 bg-dark border border-white/10 rounded-lg focus:outline-none focus:border-primary transition-colors input-focus"
                                    placeholder="计算中..." readonly>
                            </div>
                        </div>
                        
                        <!-- 备注信息 -->
                        <div>
                            <label for="note" class="block text-white/70 mb-2 text-sm">备注信息 (选填)</label>
                            <textarea id="note" name="note" rows="3" 
                                class="w-full px-4 py-3 bg-dark border border-white/10 rounded-lg focus:outline-none focus:border-primary transition-colors input-focus"
                                placeholder="请输入备注信息，如您的特殊要求等"></textarea>
                        </div>
                        
                        <!-- 同意条款 -->
                        <div class="flex items-start">
                            <div class="flex items-center h-5">
                                <input id="terms" name="terms" type="checkbox" class="focus:ring-primary h-4 w-4 text-primary border-white/30 rounded" required>
                            </div>
                            <div class="ml-3 text-sm">
                                <label for="terms" class="text-white/70">我已阅读并同意 <a href="#" class="text-primary hover:underline">《交易条款》</a> 和 <a href="#" class="text-primary hover:underline">《隐私政策》</a></label>
                            </div>
                        </div>
                        
                        <!-- 提交按钮 -->
                        <div class="flex justify-center pt-4">
                            <button type="submit" class="w-full py-3 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors flex items-center justify-center">
                                <i class="fa fa-paper-plane mr-2"></i> 提交购买意向
                            </button>
                        </div>
                    </form>
                </div>
                
                <!-- 购买提示 -->
                <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 max-w-2xl mx-auto">
                    <h3 class="text-xl font-bold mb-4 flex items-center">
                        <i class="fa fa-info-circle text-primary mr-2"></i> 购买提示
                    </h3>
                    <ul class="space-y-3 text-white/80">
                        <li class="flex items-start">
                            <i class="fa fa-check-circle text-success mt-1 mr-2"></i>
                            <span>提交购买意向后，系统将自动为您匹配合适的卖家，您将收到通知</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-check-circle text-success mt-1 mr-2"></i>
                            <span>请确保您填写的支付信息准确无误，以免影响交易进度</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-check-circle text-success mt-1 mr-2"></i>
                            <span>交易过程中，请遵守平台规则，避免私下交易，以防资金损失</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-check-circle text-success mt-1 mr-2"></i>
                            <span>如遇到问题，请及时联系在线客服，我们将为您提供帮助</span>
                        </li>
                    </ul>
                </div>
            </main>

            <!-- 页脚 -->
            <footer class="bg-dark-blue border-t border-white/10">
                <div class="container mx-auto px-4 py-12">
                    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
                        <div>
                            <div class="flex items-center space-x-2 mb-4">
                                <div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center">
                                    <i class="fa fa-exchange text-white text-xl"></i>
                                </div>
                                <h2 class="text-xl font-bold gradient-text">USDT<span class="text-sm font-normal ml-1">Market</span></h2>
                            </div>
                            <p class="text-white/60 mb-4">安全、便捷的USDT交易平台，支持多种本币出售，平台担保交易，保障资金安全</p>
                            <div class="flex space-x-4">
                                <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                                    <i class="fa fa-twitter"></i>
                                </a>
                                <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                                    <i class="fa fa-telegram"></i>
                                </a>
                                <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                                    <i class="fa fa-discord"></i>
                                </a>
                                <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                                    <i class="fa fa-github"></i>
                                </a>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-bold mb-4">交易服务</h3>
                            <ul class="space-y-2">
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">购买USDT</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">出售USDT</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">充值记录</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">提现记录</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">交易记录</a></li>
                            </ul>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-bold mb-4">资源中心</h3>
                            <ul class="space-y-2">
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">新手教程</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">安全指南</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">常见问题</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">交易规则</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">联系客服</a></li>
                            </ul>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-bold mb-4">法律合规</h3>
                            <ul class="space-y-2">
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">隐私政策</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">服务条款</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">风险提示</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">合规声明</a></li>
                                <li><a href="#" class="text-white/60 hover:text-primary transition-colors">知识产权</a></li>
                            </ul>
                        </div>
                    </div>
                    
                    <div class="h-px bg-white/10 my-8"></div>
                    
                    <div class="flex flex-col md:flex-row justify-between items-center">
                        <p class="text-white/60 text-sm mb-4 md:mb-0">© 2023 USDTMarket. 保留所有权利。平台不参与任何资金交易，仅提供信息匹配服务。</p>
                        <div class="flex space-x-6">
                            <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">隐私政策</a>
                            <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">服务条款</a>
                            <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">风险提示</a>
                        </div>
                    </div>
                </div>
            </footer>

            <!-- JavaScript -->
            <script>
                // 导航栏滚动效果
                const navbar = document.getElementById('navbar');
                window.addEventListener('scroll', () => {
                    if (window.scrollY > 10) {
                        navbar.classList.add('bg-dark-blue/90');
                        navbar.classList.add('shadow-lg');
                    } else {
                        navbar.classList.remove('bg-dark-blue/90');
                        navbar.classList.remove('shadow-lg');
                    }
                });
                
                // 价格类型切换
                const priceMarket = document.getElementById('price-market');
                const priceCustom = document.getElementById('price-custom');
                const customPriceField = document.getElementById('customPriceField');
                
                priceMarket.addEventListener('change', () => {
                    customPriceField.classList.add('hidden');
                    calculateEstimatedAmount();
                });
                
                priceCustom.addEventListener('change', () => {
                    customPriceField.classList.remove('hidden');
                    calculateEstimatedAmount();
                });
                
                // 自定义价格输入监听
                const customPrice = document.getElementById('customPrice');
                customPrice.addEventListener('input', calculateEstimatedAmount);
                
                // 购买金额输入监听
                const amountInput = document.getElementById('amount');
                amountInput.addEventListener('input', calculateEstimatedAmount);
                
                // 计算预计支付金额
                function calculateEstimatedAmount() {
                    const amount = parseFloat(amountInput.value) || 0;
                    let price;
                    
                    if (priceMarket.checked) {
                        price = 7.12; // 市场价
                    } else {
                        price = parseFloat(customPrice.value) || 0;
                    }
                    
                    const estimatedAmount = amount * price;
                    const estimatedAmountElement = document.getElementById('estimatedAmount');
                    
                    if (amount > 0 && price > 0) {
                        estimatedAmountElement.value = estimatedAmount.toFixed(2);
                    } else {
                        estimatedAmountElement.value = '计算中...';
                    }
                }
                
                // 表单提交处理
                const purchaseForm = document.getElementById('purchaseForm');
                purchaseForm.addEventListener('submit', (e) => {
                    e.preventDefault();
                    
                    // 收集表单数据
                    const formData = {
                        amount: parseFloat(amountInput.value),
                        payment: document.querySelector('input[name="payment"]:checked').value,
                        priceType: document.querySelector('input[name="priceType"]:checked').value,
                        customPrice: priceCustom.checked ? parseFloat(customPrice.value) : 0,
                        note: document.getElementById('note').value
                    };
                    
                    // 这里可以添加实际的表单提交逻辑，例如使用fetch发送数据到服务器
                    console.log('提交的购买意向数据:', formData);
                    
                    // 显示提交成功消息
                    alert('购买意向已提交成功！我们将尽快为您匹配卖家。');
                    
                    // 重置表单
                    purchaseForm.reset();
                    priceMarket.checked = true;
                    customPriceField.classList.add('hidden');
                    calculateEstimatedAmount();
                });
            </script>
        </body>
        </html>
    